package FileinPutStream;

import java.io.FileInputStream;
import java.io.IOException;

public class FileInPutStreamDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis= new FileInputStream("C:\\Users\\86180\\Desktop\\test\\demo\\src\\fos.txt");
       /* int by = fis.read();
        while(by!=-1){
        System.out.print((char)by);
        by= fis.read();
        }*/


        int by;
        while((by= fis.read())!=-1){
            System.out.print((char)by);
        }
        fis.close();
    }
}
